<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link
      rel="stylesheet"
      href="/public/lib/bootstrap-3.4.1-dist/css/bootstrap.min.css"
    />
    <link rel="stylesheet" href="/public/css/post.css" />
  </head>
  <body>
    <div class="main">
      <div class="header">
        <h2>
          发表评论 <small> <a href="/" class="back">回到首页</a></small>
        </h2>
      </div>

      <form action="/pinglun" method="get" class="from">
        <!-- '你的ID'部分 -->
        <div class="your-name">
          <div>留言ID</div>
          <input
            type="text"
            id="input_name"
            name="name"
            required
            maxlength="10"
            maxlength="2"
            placeholder="请输入留言ID"
          />
        </div>

        <!-- title 部分 -->
        <div class="your-title">
          <div>留言标题</div>
          <input
            type="text"
            id="input_title"
            name="title"
            required
            maxlength="10"
            maxlength="2"
            placeholder="请输入留言标题"
          />
        </div>

        <!-- '留言内容' 部分 -->
        <div class="leave-message">
          <div>留言内容</div>
          <textarea
            name="message"
            id="textarea_message"
            required
            minlength="1"
            cols="400"
            rows="10"
          ></textarea>
        </div>

        <button type="submit" class="btn btn-info">发表</button>
      </form>
    </div>
  </body>
</html>
